package com.csc.contact.checkbill.service;

import com.csc.contact.checkbill.entity.UrpProvinceinfo;
import com.csc.contact.checkbill.mapper.UrpProvinceinfoMapper;
import com.hollycrm.hollybeacons.system.db.mybatis.support.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 *
 * @auther youxiang
 * @date 2019/6/5 17:08
 * Description:
 */
@Service("urpprovinceservice")
public class UrpProvinceinfoServiceImpl extends BaseServiceImpl<UrpProvinceinfoMapper, UrpProvinceinfo> {
    /**
     * 查询省份编码信息表所有数据
     */
    public List<UrpProvinceinfo> provinceinfoQueryAll(){
        return this.baseMapper.provinceinfoQueryAll();
    }

    /**
     * 查询已割接省份编码
     * @return
     */
    public List<UrpProvinceinfo> provinceinfoQueryY(){
        return this.baseMapper.provinceinfoQueryY();
    }

    /**
     * 根据省份ID
     */
    public UrpProvinceinfo provinceinfoQueryById(String piProvinceid){
        return this.baseMapper.provinceinfoQueryById(piProvinceid);
    }
}
